import logging

if __name__ == '__main__':
    #列表[]，
    set1 ={1,2}
    set2 = {1:1,"1":"name"}
    print(type(set))
    print(type(set2))
    print(set2)
    set3 = set()
    print(type(set3))
    set1.add(3)
    set1.update(('name','age'))
    print(set1)
    set1.remove('name')
    set1.discard(('name'))
    print(set1)
    set1.pop()
    print(set1)
    list1 = [i for i in range(5)]
    print(list1)
    list2 = [i for i in range(100) if i%2 == 0]
    print(list2)
    name = ('name','zhangs','lis')
    age = [1,2,3,4]
    list3 = {
        name[i]:age[j] for i in range(len(name)) for j in range(len(name))}
    print(list3)
    set1 = {i for i in range(5)}
    print(set1)
#5! = 5 * 4!
def f(n):
    if n == 1:
        return 1
    else:
        return n * f(n-1)
print(f(5))